﻿using System.Configuration;
using Telerik.Sitefinity.Social.Contracts;
using Telerik.Sitefinity.Social.Providers;
using Telerik.Sitefinity.Social.Configuration;
using Telerik.Sitefinity.Social.Resources;

namespace Telerik.Sitefinity.Social
{
    /// <summary>
    /// Manager class for the Social Network Platform
    /// </summary>
    public class SocialManager : ManagerBase<BaseSocialProvider>
    {

        #region Properties

        /// <summary>
        /// The default provider for this manager.
        /// </summary>
        public override string DefaultProvider
        {
            get
            {
                return ConfigHelper.Handler.DefaultProvider;
            }
        }

        /// <summary>
        /// The name of the module that this manager belongs to.
        /// </summary>
        public override string ModuleName
        {
            get
            {
                return Messages.Module_Name;
            }
        }

        /// <summary>
        /// Collection of Sytem.Configuration.ProviderSetings 
        /// </summary>
        protected override ProviderSettingsCollection ProvidersSettings
        {
            get
            {
                return ConfigHelper.Handler.Providers;
            }
        }

        #endregion

        #region Person methods

        /// <summary>
        /// Creates the person.
        /// </summary>
        /// <returns></returns>
        public IPerson CreatePerson()
        {
            return null;
        }

        #endregion

    }
}
